<?php 
namespace Home\Controller;

use Think\Controller;
use Behavior\CheckLangBehavior;



class CommController extends Controller{


	
	public function __construct(){
		parent::__construct();

		// 配置语言
		$CheckLangBehavior = new CheckLangBehavior();
		$CheckLangBehavior->run(I('get.l'));
		$this->lang = cookie('think_language');


		if ($this->lang == 'en') {
			$this->langs = '_en';
		}


		

	}










}






?>